package p270jp.pxv.android.model;

import android.support.p024v4.media.C0261e;
import com.android.billingclient.api.Purchase;
import p216hn.DefaultConstructorMarker;
import p325m0.MutabilityOwnership;
import p545uf.NotEmptyList;

/* compiled from: PurchasedStatus.kt */
/* renamed from: jp.pxv.android.model.PurchasedStatus */
/* loaded from: classes2.dex */
public abstract class PurchasedStatus {
    public static final int $stable = 0;

    /* compiled from: PurchasedStatus.kt */
    /* renamed from: jp.pxv.android.model.PurchasedStatus$EmptyStatusSuccess */
    /* loaded from: classes2.dex */
    public static final class EmptyStatusSuccess extends PurchasedStatus {
        public static final int $stable = 0;
        public static final EmptyStatusSuccess INSTANCE = new EmptyStatusSuccess();

        private EmptyStatusSuccess() {
            super(null);
        }
    }

    /* compiled from: PurchasedStatus.kt */
    /* renamed from: jp.pxv.android.model.PurchasedStatus$Error */
    /* loaded from: classes2.dex */
    public static final class Error extends PurchasedStatus {
        public static final int $stable = 0;
        public static final Error INSTANCE = new Error();

        private Error() {
            super(null);
        }
    }

    /* compiled from: PurchasedStatus.kt */
    /* renamed from: jp.pxv.android.model.PurchasedStatus$ItemAlreadyOwned */
    /* loaded from: classes2.dex */
    public static final class ItemAlreadyOwned extends PurchasedStatus {
        public static final int $stable = 0;
        public static final ItemAlreadyOwned INSTANCE = new ItemAlreadyOwned();

        private ItemAlreadyOwned() {
            super(null);
        }
    }

    /* compiled from: PurchasedStatus.kt */
    /* renamed from: jp.pxv.android.model.PurchasedStatus$Success */
    /* loaded from: classes2.dex */
    public static final class Success extends PurchasedStatus {
        public static final int $stable = 8;
        private final NotEmptyList<Purchase> purchases;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        /* JADX WARN: Multi-variable type inference failed */
        public Success(NotEmptyList<? extends Purchase> aVar) {
            super(null);
            MutabilityOwnership.m3745m(aVar, "purchases");
            this.purchases = aVar;
        }

        /* JADX WARN: Multi-variable type inference failed */
        public static /* synthetic */ Success copy$default(Success success, NotEmptyList aVar, int i, Object obj) {
            if ((i & 1) != 0) {
                aVar = success.purchases;
            }
            return success.copy(aVar);
        }

        public final NotEmptyList<Purchase> component1() {
            return this.purchases;
        }

        public final Success copy(NotEmptyList<? extends Purchase> aVar) {
            MutabilityOwnership.m3745m(aVar, "purchases");
            return new Success(aVar);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof Success) && MutabilityOwnership.m3749h(this.purchases, ((Success) obj).purchases);
        }

        public final NotEmptyList<Purchase> getPurchases() {
            return this.purchases;
        }

        public int hashCode() {
            return this.purchases.hashCode();
        }

        public String toString() {
            StringBuilder c = C0261e.m12042c("Success(purchases=");
            c.append(this.purchases);
            c.append(')');
            return c.toString();
        }
    }

    /* compiled from: PurchasedStatus.kt */
    /* renamed from: jp.pxv.android.model.PurchasedStatus$UserCancel */
    /* loaded from: classes2.dex */
    public static final class UserCancel extends PurchasedStatus {
        public static final int $stable = 0;
        public static final UserCancel INSTANCE = new UserCancel();

        private UserCancel() {
            super(null);
        }
    }

    private PurchasedStatus() {
    }

    public /* synthetic */ PurchasedStatus(DefaultConstructorMarker eVar) {
        this();
    }
}
